(ns clj.script.examples)

(import '(javax.swing JOptionPane)
 '(java.awt.event ActionListener))
 
 (defn mouseClicked [button]
  (.addActionListener button
    (proxy [ActionListener] []
      (actionPerformed[e]
       (future
       (TwitterButtonAddUserController/getUser(JOptionPane/showInputDialog nil "Clojure: Enter someone to Follow on Twitter" "Follow"
        (JOptionPane/QUESTION_MESSAGE))))))))